package com.bigknow.appstore.web.console.app;

import com.bigknow.appstore.web.framework.entity.BaseEntity;
import com.bigknow.appstore.web.framework.entity.IEntity;
import org.mongodb.morphia.annotations.Entity;

import java.sql.Timestamp;

/**
 * Created by zhangwei on 2016/10/8.
 */
@Entity("client-detail")
public class ClientDetail extends BaseEntity implements IEntity {
    private String client_id;
    private String client_secret;
    private String client_name;
    private String client_uri;
    private String client_icon_uri;
    private String resource_ids;
    private String scope;
    private String grant_types;
    private String redirect_uri;
    private String roles;
    private int access_token_validity;
    private int refresh_token_validity;
    private String description;
    private long create_time;
    private int archived;
    private int trusted;

    public String getClient_id() {
        return client_id;
    }

    public void setClient_id(String client_id) {
        this.client_id = client_id;
    }

    public String getClient_secret() {
        return client_secret;
    }

    public void setClient_secret(String client_secret) {
        this.client_secret = client_secret;
    }

    public String getClient_name() {
        return client_name;
    }

    public void setClient_name(String client_name) {
        this.client_name = client_name;
    }

    public String getClient_uri() {
        return client_uri;
    }

    public void setClient_uri(String client_uri) {
        this.client_uri = client_uri;
    }

    public String getClient_icon_uri() {
        return client_icon_uri;
    }

    public void setClient_icon_uri(String client_icon_uri) {
        this.client_icon_uri = client_icon_uri;
    }

    public String getResource_ids() {
        return resource_ids;
    }

    public void setResource_ids(String resource_ids) {
        this.resource_ids = resource_ids;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getGrant_types() {
        return grant_types;
    }

    public void setGrant_types(String grant_types) {
        this.grant_types = grant_types;
    }

    public String getRedirect_uri() {
        return redirect_uri;
    }

    public void setRedirect_uri(String redirect_uri) {
        this.redirect_uri = redirect_uri;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public int getAccess_token_validity() {
        return access_token_validity;
    }

    public void setAccess_token_validity(int access_token_validity) {
        this.access_token_validity = access_token_validity;
    }

    public int getRefresh_token_validity() {
        return refresh_token_validity;
    }

    public void setRefresh_token_validity(int refresh_token_validity) {
        this.refresh_token_validity = refresh_token_validity;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public int getArchived() {
        return archived;
    }

    public void setArchived(int archived) {
        this.archived = archived;
    }

    public int getTrusted() {
        return trusted;
    }

    public void setTrusted(int trusted) {
        this.trusted = trusted;
    }
}
